package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.LeaseAgreement;
import com.atguigu.lease.web.admin.vo.agreement.AgreementQueryVo;
import com.atguigu.lease.web.admin.vo.agreement.AgreementVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author liubo
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Service
* @createDate 2023-07-24 15:48:00
*/
public interface LeaseAgreementService extends IService<LeaseAgreement> {

    /**
     * @author gengjian
     * @date 2024/12/12 15:29:35
     * 根据id查询租约vo(签约公寓，房间，租期，支付方式)
     */
    AgreementVo getAgreementVoById(Long id);

    /**
     * @author gengjian
     * @date 2024/12/12 16:00:30
     * 分页动态条件查询租约vo
     */
    void PageAgreementVoByQuery(IPage<AgreementVo> page, AgreementQueryVo queryVo);
}
